<#macro home pagecss="" pagejs="">
<#escape x as (x)!"">
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8" />
<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1" />
<title>${(Constants.config.entName)!}</title>
<meta name="description" content="" />
<meta http-equiv="X-UA-Compatible" content="IE=EmulateIE8, IE=9" />
<meta name="keywords" content="" />
<meta name="author" content="" />
<meta name="robots" content="all" />
	<link rel="stylesheet" href="/plugins/pace/pace.min.css"/>
	<link rel="stylesheet" href="/plugins/datetimepicker/jquery.datetimepicker.css"/>
	<link rel="stylesheet" href="/plugins/viewer/viewer.min.css"/>
	<link rel="stylesheet" href="/plugins/select2/css/select2.css"/>
	<link rel="stylesheet" href="/plugins/fSelect/fSelect.css"/>
	<link rel="stylesheet" href="/style/admin/css/bootstrap.css"/>
	<link rel="stylesheet" href="/style/admin/css/system.css"/>
	<link rel="stylesheet" href="/style/admin/css/common.css"/>
	<link rel="stylesheet" href="/style/admin/css/layer.css">
	<link rel="stylesheet" href="/style/admin/css/reset.css" />
	
	<script src="/plugins/jquery.js"></script>
	<script src="/plugins/cookie/jquery.cookie.min.js"></script>
	
	<script type="text/javascript">
		uploaderUrl= "${Uploader.getUploaderUrl()}";
		downloadUrl= "${Uploader.getDownLoadUrl()}";
		isMultiTab = ${(AdminConstants.config.multiTab?c)!false};
		
		window.onpageshow = function (event) {
			var val = $.cookie('page_refresh');
			if (val) {
				$.cookie('page_refresh', '', {expires: -1, path: '/'});
				window.location.reload();
			}
		 }
	</script>
	${pagecss}
</head>
<body>
	<#nested>
</body>
<!-- <script type="text/javascript" src="/style/admin/js/ui.layout.js"></script> -->
	<script src="/plugins/bootstrap/bootstrap.min.js"></script>
	<script src="/plugins/datetimepicker/jquery.datetimepicker.js"></script>
	<script src="/plugins/select2/js/select2.js"></script>
    <script src="/plugins/fSelect/fSelect.js"></script>
	<script src="/plugins/pace/pace.min.js"></script>
	<script src="/plugins/viewer/viewer.min.js"></script>
	<script src="/plugins/tableHeadFixer/tableHeadFixer.js"></script>
	
	<script src="/style/admin/js/init.js"></script>
	<script src="/style/admin/js/validate.js?2"></script>
	<script src="/style/admin/js/common.js"></script>
	<script src="/style/admin/js/layout.js"></script>
	${pagejs}
</html>
</#escape>
</#macro>

<#macro upload >
	<link rel="stylesheet" href="/style/admin/css/webuploader.css"/>
	<script src="/plugins/webuploader/webuploader.js"></script>
	<script src="/plugins/webuploader/init.upload.js"></script>
</#macro>

<#macro tree >
	<link rel="stylesheet" href="/style/admin/css/tree.css"/>
	<script type="text/javascript" src="/plugins/zTree/js/jquery.ztree.core.min.js"></script>
	<script type="text/javascript"src="/plugins/zTree/js/jquery.ztree.excheck.js"></script>
	<script type="text/javascript"src="/plugins/zTree/js/jquery.ztree.exhide.js"></script>
	<script type="text/javascript" src="/plugins/zTree/js/fuzzysearch.js"></script>
	<script type="text/javascript" src="/plugins/jquery.treetable/jquery.treetable.js"></script>
</#macro>

<#macro ueditor >
	<script src="/plugins/ueditor/ueditor.config.js"></script>
	<script src="/plugins/ueditor/ueditor.all.min.js"></script>
</#macro>

<#macro ueditorPlus >
	<!-- 引入ueditorPlus插件时候，由于common.js中的Array.prototype.contains冲突,html中不能使用 home.home pagecss=css pagejs=js> ,-->
	<script type="text/javascript" charset="utf-8" src="/plugins/ueditor-plus/ueditor.config.js?v=1.0.2"></script>
	<script type="text/javascript" charset="utf-8" src="/plugins/ueditor-plus/ueditor.all.js?v=1.0.7"></script>
	<!--建议手动加在语言，避免在ie下有时因为加载语言失败导致编辑器加载失败-->
	<!--这里加载的语言文件会覆盖你在配置项目里添加的语言类型，比如你在配置项目里配置的是英文，这里加载的中文，那最后就是中文-->
	<script type="text/javascript" charset="utf-8" src="/plugins/ueditor-plus/lang/zh-cn/zh-cn.js"></script>
	<link rel="stylesheet" href="/plugins/ueditor-plus/style.css"/>
</#macro>

<#macro area >
	<link rel="stylesheet" type="text/css" href="/plugins/city-picker/css/city-picker.css">
	<script type="text/javascript" src="/plugins/city-picker/js/city-data.js"></script>
	<script type="text/javascript" src="/plugins/city-picker/js/city-picker.js"></script>
</#macro>